<?php

namespace App\Models;


class MemberMessage extends Model
{
    use ModelTrait;

    protected $table = 'member_message';
    public $dateFormat = 'U';

    protected $casts = [
        'created_at' => 'datetime',
        'updated_at' => 'datetime'
    ];

    protected $fillable = [
        'id',
        'from_user_id',
        'to_user_id',
        'message',
        'is_read',
        'created_at',
        'created_by',
        'updated_at',
        'updated_by',
        'deleted_at',
        'deleted_by',
    ];

    protected $columns = [
        'id',
        'from_user_id',
        'to_user_id',
        'message',
        'is_read',
        'created_at',
        'created_by',
        'updated_at',
        'updated_by',
        'deleted_at',
        'deleted_by',
    ];


}
